package com.ruoyi.jjm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 包联人对象 t_baolianren
 * 
 * @author tsr
 * @date 2020-07-15
 */
public class Baolianren extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 包联人姓名 */
    @Excel(name = "包联人姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 状态，0：无效，1：有效 */
    private Integer status;

    /** 包联人级别，1：县级，2：乡级，3：村级 */
    @Excel(name = "包联人级别，1：县级，2：乡级，3：村级")
    private Integer level;

    /** 负责地区ID */
    @Excel(name = "负责地区ID")
    private Long areaId;

    /** 负责地区类型 */
    @Excel(name = "负责地区类型")
    private Long areaType;

    /** 负责户数 */
    @Excel(name = "负责户数")
    private Long households;

    /** 包联领导 */
    @Excel(name = "包联领导")
    private String leader;

    /** 职务 */
    @Excel(name = "职务")
    private String post;

    /** 包联单位负责人 */
    @Excel(name = "包联单位负责人")
    private String unitLeader;

    /** 包联单位负责人职务 */
    @Excel(name = "包联单位负责人职务")
    private String unitLeaderPost;

    /** 包联单位负责人电话 */
    @Excel(name = "包联单位负责人电话")
    private String unitLeaderPhone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setAreaType(Long areaType) 
    {
        this.areaType = areaType;
    }

    public Long getAreaType() 
    {
        return areaType;
    }
    public void setHouseholds(Long households) 
    {
        this.households = households;
    }

    public Long getHouseholds() 
    {
        return households;
    }
    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }
    public void setPost(String post) 
    {
        this.post = post;
    }

    public String getPost() 
    {
        return post;
    }
    public void setUnitLeader(String unitLeader) 
    {
        this.unitLeader = unitLeader;
    }

    public String getUnitLeader() 
    {
        return unitLeader;
    }
    public void setUnitLeaderPost(String unitLeaderPost) 
    {
        this.unitLeaderPost = unitLeaderPost;
    }

    public String getUnitLeaderPost() 
    {
        return unitLeaderPost;
    }
    public void setUnitLeaderPhone(String unitLeaderPhone) 
    {
        this.unitLeaderPhone = unitLeaderPhone;
    }

    public String getUnitLeaderPhone() 
    {
        return unitLeaderPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("status", getStatus())
            .append("level", getLevel())
            .append("areaId", getAreaId())
            .append("areaType", getAreaType())
            .append("households", getHouseholds())
            .append("leader", getLeader())
            .append("post", getPost())
            .append("unitLeader", getUnitLeader())
            .append("unitLeaderPost", getUnitLeaderPost())
            .append("unitLeaderPhone", getUnitLeaderPhone())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
